package com.zisu.aradvertising.service;

import com.zisu.aradvertising.pojo.JsonResult;
import com.zisu.aradvertising.pojo.Video;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@Service
public interface VideoService {
    JsonResult uploadVideo(MultipartFile videoFile);
    JsonResult analyzeVideo(MultipartFile videoFile) throws InterruptedException;
    /**
     * 编辑石鹏业务逻辑
     * @param vid vid
     * @param videointroduction videointroduction
     * @param videorequirement videorequirement
     * @return
     */
    Video editService(int vid, String videorequirement, String videointroduction);
    /**
     * 返回所有视频业务逻辑
     * @return
     */
    List<Video> findallService();

    //上传视频
    Video videouploadService(MultipartFile videoFile,MultipartFile pictureFile,int cid,String vname,String vstyle);
}
